package cn.cttic.app.api.domain.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 请求: 短信注册登录
 */
@Data
public class AppRegLoginByWechatOpenIdRequestDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    @NotNull(message = "手机号不可为空")
    private String phone;

    @NotNull(message = "短信验证码不可为空")
    private String smsCode;

    /**
     * OpenID
     */
    @NotNull(message = "OpenID不可为空")
    private String openId;
}
